<%--
  Created by IntelliJ IDEA.
  User: liuqiumiao5
  Date: 2023/10/13
  Time: 17:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="OrderConfirmServlet2" method="post">

    <table>
<c:forEach items="${list}" var="temp">
        <tr>
            商品id：<input type="hidden" name="productId_${temp.prductId}" value="${temp.prductId}"/>
            商品数量：<input type="text" name="productNum_${temp.prductId}" />
        </tr>
</c:forEach>

    </table>



    <input  type="submit" value="下单"/>
</form>
</body>
</html>
